package com.person.jiaiplan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.person.jiaiplan.pojo.dto.expenses.ExpensesAddPlanReqDTO;
import com.person.jiaiplan.pojo.dto.expenses.ExpensesFinishReqDTO;
import com.person.jiaiplan.pojo.dto.expenses.ExpensesPlanQueryReqDTO;
import com.person.jiaiplan.pojo.dto.expenses.ExpensesPlanQueryResDTO;
import com.person.jiaiplan.pojo.entity.ExpensesPlan;

import java.util.List;

public interface ExpensesPlanService extends IService<ExpensesPlan> {

    /**
     * 增加花销计划
     *
     * @param reqDTO
     * @return
     */
    Boolean addPlan(ExpensesAddPlanReqDTO reqDTO);


    Boolean editPlan(ExpensesAddPlanReqDTO reqDTO);

    /**
     * 查询花销计划
     *
     * @param reqDTO
     * @return
     */
    List<ExpensesPlanQueryResDTO>  queryExpensesPlan(ExpensesPlanQueryReqDTO reqDTO);


}
